package cn.harvest.storage.vo;

import java.util.HashSet;
import java.util.Set;

import cn.harvest.storage.po.MerchandiseType;
import cn.harvest.storage.po.MerchandiseUnit;

/**
 * Merchandise entity. @author MyEclipse Persistence Tools
 */

public class MerchandiseVo {

	// Fields

	private Integer merchandiseId;
	private String merchandiseUnitId;
	private String merchandiseTypeId;
	private String merchandiseCid;
	private String merchandiseName;
	private Integer merchandiseAmount;
	private Float merchandiseInPrice;
	private String merchandiseNorm;
	private Integer merchandiseAlert;
	private String merchandiseMemo;
	private MerchandiseUnit merchandiseUnit;
	private MerchandiseType merchandiseType;
	private Set storehouses = new HashSet(0);
	private Set invoiceItems = new HashSet(0);

	// Constructors

	/** default constructor */
	public MerchandiseVo() {
	}

	public MerchandiseVo(String merchandiseCid, String merchandiseName,
			Integer merchandiseAmount, Float merchandiseInPrice,
			String merchandiseNorm, Integer merchandiseAlert,
			String merchandiseMemo, String merchandiseUnitId,
			String merchandiseTypeId) {
		this.merchandiseCid = merchandiseCid;
		this.merchandiseName = merchandiseName;
		this.merchandiseAmount = merchandiseAmount;
		this.merchandiseInPrice = merchandiseInPrice;
		this.merchandiseNorm = merchandiseNorm;
		this.merchandiseAlert = merchandiseAlert;
		this.merchandiseMemo = merchandiseMemo;
		this.merchandiseUnitId = merchandiseUnitId;
		this.merchandiseTypeId = merchandiseTypeId;
	}
	// Property accessors

	public Integer getMerchandiseId() {
		return this.merchandiseId;
	}

	public void setMerchandiseId(Integer merchandiseId) {
		this.merchandiseId = merchandiseId;
	}

	public MerchandiseUnit getMerchandiseUnit() {
		return this.merchandiseUnit;
	}

	public void setMerchandiseUnit(MerchandiseUnit merchandiseUnit) {
		this.merchandiseUnit = merchandiseUnit;
	}

	public MerchandiseType getMerchandiseType() {
		return this.merchandiseType;
	}

	public void setMerchandiseType(MerchandiseType merchandiseType) {
		this.merchandiseType = merchandiseType;
	}

	public String getMerchandiseCid() {
		return this.merchandiseCid;
	}

	public void setMerchandiseCid(String merchandiseCid) {
		this.merchandiseCid = merchandiseCid;
	}

	public String getMerchandiseName() {
		return this.merchandiseName;
	}

	public void setMerchandiseName(String merchandiseName) {
		this.merchandiseName = merchandiseName;
	}

	public Integer getMerchandiseAmount() {
		return this.merchandiseAmount;
	}

	public void setMerchandiseAmount(Integer merchandiseAmount) {
		this.merchandiseAmount = merchandiseAmount;
	}

	public Float getMerchandiseInPrice() {
		return this.merchandiseInPrice;
	}

	public void setMerchandiseInPrice(Float merchandiseInPrice) {
		this.merchandiseInPrice = merchandiseInPrice;
	}

	public String getMerchandiseNorm() {
		return this.merchandiseNorm;
	}

	public void setMerchandiseNorm(String merchandiseNorm) {
		this.merchandiseNorm = merchandiseNorm;
	}

	public Integer getMerchandiseAlert() {
		return this.merchandiseAlert;
	}

	public void setMerchandiseAlert(Integer merchandiseAlert) {
		this.merchandiseAlert = merchandiseAlert;
	}

	public String getMerchandiseMemo() {
		return this.merchandiseMemo;
	}

	public void setMerchandiseMemo(String merchandiseMemo) {
		this.merchandiseMemo = merchandiseMemo;
	}

	public Set getStorehouses() {
		return this.storehouses;
	}

	public void setStorehouses(Set storehouses) {
		this.storehouses = storehouses;
	}

	public Set getInvoiceItems() {
		return this.invoiceItems;
	}

	public void setInvoiceItems(Set invoiceItems) {
		this.invoiceItems = invoiceItems;
	}

	public String getMerchandiseUnitId() {
		return merchandiseUnitId;
	}

	public void setMerchandiseUnitId(String merchandiseUnitId) {
		this.merchandiseUnitId = merchandiseUnitId;
	}

	public String getMerchandiseTypeId() {
		return merchandiseTypeId;
	}

	public void setMerchandiseTypeId(String merchandiseTypeId) {
		this.merchandiseTypeId = merchandiseTypeId;
	}

}